package com.hcbd.tdwt.ui.fuda.setting.activity;

import android.annotation.SuppressLint;
import android.widget.TextView;

import com.hcbd.tdwt.R;
import com.hcbd.tdwt.base.BaseActivity;
import com.hcbd.tdwt.base.BeidouBoxParams;

import org.androidannotations.annotations.AfterViews;
import org.androidannotations.annotations.Click;
import org.androidannotations.annotations.EActivity;
import org.androidannotations.annotations.ViewById;
@SuppressLint("NonConstantResourceId")
@EActivity(R.layout.activity_sunrise_and_sunset)
public class SunriseAndSunsetActivity extends BaseActivity {

    @ViewById
    TextView title;  // 主标题
    @ViewById
    TextView sunriseTimeTV;  // 日出时间
    @ViewById
    TextView sunsetTimeTV;  // 日落时间

    @AfterViews
    protected void init() {

        title.setText("日出日落");
        sunriseTimeTV.setText(BeidouBoxParams.sunRise);
        sunsetTimeTV.setText(BeidouBoxParams.sunSet);
    }


    @Click
    void headLeft(){
        finish();
    }
}